import request from '@/utils/request'

// 查询下载文件列表
export function listFileDownload(params) {
  return request({
    url: '/biz/fileDownload/list',
    method: 'get',
    params,
  })
}
//获取待下载文件数量
export function notDownloadCount(){
  return request({
    url: 'biz/fileDownload/count',
    method: 'get'
  })
}

//修改下载文件状态
export function updateFileDownloadState(data){
  return request({
    url: 'biz/fileDownload/state',
    method: 'post',
    data: data,
  })
}
